package com.read.mapper;

import com.read.dto.params.NovelCommentStarParamsDto;
import com.read.entity.NovelCommentStar;

public interface NovelCommentStarMapper {
    int insert(NovelCommentStar record);

    int insertSelective(NovelCommentStar record);

    /**
     * @description 用户点赞
     * @author sh-sunb6
     * @date 2019-03-18 11:06
     */
    int userAddStar(NovelCommentStarParamsDto params);

    /**
     * @description 用户取消点赞
     * @author sh-sunb6
     * @date 2019-03-18 11:06
     */
    int userCancelStar();
}